import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入flexible.js（设置html根字号大小，用来做移动适配）
import 'amfe-flexible'
// 引入Vant组件库中需要的组件
import { NavBar, Form, Field, Button, Tabbar, TabbarItem, Icon, Image as VanImage } from 'vant'

Vue.use(VanImage)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
